function D() {
  return Array.from({ length: 1000 }).map((i) => Math.random());
}

const DATA = D();

const a = ((DATA[DATA.length] = 1), DATA);

const b = DATA.toSpliced(Infinity, 0, 1);
